// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/index'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "./api/axios";
// import './common/stylus/iconfont'
Vue.use(ElementUI);
Vue.config.productionTip = false
// 引入全局组件
import footerVue from './components/footer/footer.vue'
import headerA from './components/header/header.vue'
import VDistpicker from 'v-distpicker'
Vue.component('v-distpicker', VDistpicker)
Vue.component('footerVue', footerVue);
Vue.component('headerA', headerA);
Vue.prototype.axios = axios
Vue.prototype.EventBus = new Vue()
Vue.prototype.fileUrl = "http://134.175.13.62/"
new Vue({
    el: '#app',
    router,
    components: {
        App
    },
    template: '<App/>'
})